package ${package}.${moduleName}.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
<#list importList as i>
import ${i!};
</#list>
<#if baseClass??>
import ${baseClass.packageName}.${baseClass.name};
</#if>

/**
 * ${tableComment}
 *
 * @author ${author} ${email}
 * @since ${version} ${date}
 */
<#if baseClass??>@EqualsAndHashCode(callSuper=false)</#if>
@Data
@TableName("${tableName}")
public class ${BeanName}<#if baseClass??> extends ${baseClass.name}</#if> {
<#list columnList as column>
  <#if !column.baseAttr>
	<#if column.columnComment!?length gt 0>
	/**
	* ${column.columnComment}
	*/
	</#if>
    <#if column.pkItem>
	@TableId
	</#if>
	private ${column.attrType} ${column.attrName};
  </#if>

</#list>
}